package com.mdd.front.validate.article;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

@Data
@ApiModel("联系我们参数")
public class ContactUsValidate implements Serializable {

    private static final long serialVersionUID = 1L;

    @NotNull(message = "联系电话需要填写！")
    @ApiModelProperty(value = "联系电话", required = true)
    private String phone;
    private String name;
    private String message;
    private String email;

}
